
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '人员管理',
    enableValidate: false
})

@Injectable()
export class DataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code',
        name: "{{code_17b4d508_05qp}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name',
        name: "{{name_40a98f80_hdmq}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '姓名',
    })
    name: FormControl;

    @NgFormControl({
        id: 'state',
        name: "{{state_2922b8f0_eng0}}",
        binding: 'state',
        updateOn: 'blur',
        defaultI18nValue: '状态',
    })
    state: FormControl;

    @NgFormControl({
        id: 'organization',
        name: "{{organization_da9e9520_c6uz}}",
        binding: 'organization',
        updateOn: 'blur',
        defaultI18nValue: '组织',
    })
    organization: FormControl;

    @NgFormControl({
        id: 'gender',
        name: "{{gender_12f36812_zwbd}}",
        binding: 'gender',
        updateOn: 'blur',
        defaultI18nValue: '性别',
    })
    gender: FormControl;

    @NgFormControl({
        id: 'phoneNumber',
        name: "{{phoneNumber_91cfad8a_9j3d}}",
        binding: 'phoneNumber',
        updateOn: 'blur',
        defaultI18nValue: '手机号',
    })
    phoneNumber: FormControl;

    @NgFormControl({
        id: 'location',
        name: "{{location_94298b5b_fpl1}}",
        binding: 'location',
        updateOn: 'blur',
        defaultI18nValue: '常驻地',
    })
    location: FormControl;

}